package com.ys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("myService")
public class MyService {
	
	
	@Autowired
	private MyDao myDao;

	public void setMyDao(MyDao myDao) {
		this.myDao = myDao;
	}
	
	
	
	public void test(){
		myDao.insert();
	}
	
	
}
